package com.julang.check.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @author 赵自强
 * */
public class CommonEntity {
	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	@ApiModel(value = "Language", description = "语言种类的描述")
	public static class Language {

		@ApiModelProperty(value = "语言种类的代码")
		private String id;
		@ApiModelProperty(value = "语言种类的名称")
		private String sentence;
	}

	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	@ApiModel(value = "OrderDetail", description = "订单详情")
	public static class OrderDetail {
		@ApiModelProperty(value = "用户id")
		private String userId;
		@ApiModelProperty(value = "订单在平台的账单号")
		private String outTradeNo;
		@ApiModelProperty(value = "订单的id")
		private String platformTransactionId;
		@ApiModelProperty(value = "订单支付状态 0未支付 1已完成 2 已失效")
		private int tradeState;
		@ApiModelProperty(value = "订单总金额")
		private String totalFee;
		@ApiModelProperty(value = "平台用户Id")
		private String platformUserOpenid;
		@ApiModelProperty(value = "订单创建时间")
		private long createTime;
		@ApiModelProperty(value = "订单支付时间")
		private long payTime;
		@ApiModelProperty(value = "订单二维码信息")
		private String qrCode;
		@ApiModelProperty(value = "订单所属平台类型 0 支付宝  1 微信")
		private int platformType;
	}
}
